﻿#include "mybookinfo.h"

myBookInfo::myBookInfo(QString name, QString id, QString logId, QString borrow, QString borrowData, QString borrowId)
{
    m_name = name;
    m_id = id;
    m_logId = logId;
    m_borrow = borrow;
    m_borrowData = borrowData;
    m_borrowId = borrowId;
}

void myBookInfo::setName(QString name)
{
    m_name = name;
}

void myBookInfo::setId(QString id)
{
    m_id = id;
}

void myBookInfo::setLogId(QString logId)
{
    m_logId = logId;
}

void myBookInfo::setBorrow(QString borrow)
{
    m_borrow = borrow;
}

void myBookInfo::setBorrowData(QString borrowData)
{
    m_borrowData = borrowData;
}

void myBookInfo::setBorrowId(QString borrowId)
{
    m_borrowId = borrowId;
}

QString myBookInfo::getName()
{
    return m_name;
}

QString myBookInfo::getId()
{
    return m_id;
}

QString myBookInfo::getLogId()
{
    return m_logId;
}

QString myBookInfo::getBorrow()
{
    return m_borrow;
}

QString myBookInfo::getBorrowData()
{
    return m_borrowData;
}

QString myBookInfo::getBorrowId()
{
    return m_borrowId;
}
